package com.example.project_dish.Dishes;

import java.util.List;

public class Dishes {
    private String Name;
    private List<DishesDetail> collections;

    public Dishes(String name, List<DishesDetail> collections) {
        Name = name;
        this.collections = collections;
    }

    @Override
    public String toString() {
        return "Dishes{" +
                "Name='" + Name + '\'' +
                ", collections=" + collections +
                '}';
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public List<DishesDetail> getCollections() {
        return collections;
    }

    public void setCollections(List<DishesDetail> collections) {
        this.collections = collections;
    }


}

